import  { CLICK_PHOTO } from  '../actions/actions'

export  default function (state = {clickcount:0}, action){
    switch (action.type){
        case CLICK_PHOTO:
            return {
                clickcount: state.clickcount+1
            }
    }
    return state
}